package com.cy;


import com.baomidou.mybatisplus.extension.incrementer.OracleKeyGenerator;
import org.activiti.core.common.spring.identity.config.ActivitiSpringIdentityAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * ActivityApplication
 *
 * @author wxhn1
 * @since 2024-01-09 13:58
 */
// 启动时排除掉 security框架
@SpringBootApplication(exclude = {
	ActivitiSpringIdentityAutoConfiguration.class
})
public class ActivityApplication {
	public static void main(String[] args) {
		SpringApplication.run(ActivityApplication.class);
	}
	
	@Bean
	public OracleKeyGenerator o(){
		return new OracleKeyGenerator();
	}
}
